
/*

html {
    font-size: 62.5%;
}

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*/


#dem .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ############# Eléments communs  ################################################################### */

#enfant > h2 {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

#enfant article {
    margin-left: 2rem;
    margin-right: 2rem;

}

#enfant > section.section1 {
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#enfant > section.section1 > article {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: space-evenly;

}

#enfant > section.section1 > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;    
}

#enfant > section.section1.cadre1 > div > img {
    width: 400px;
    object-fit: cover;
}


#enfant > section.section2.cadre1 {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-bottom: 2rem;
    padding-top: 2rem;
    margin-bottom: 2rem;
}

#enfant > section.section2.cadre1 > article {
    width: 90%;
}

#enfant > section.section2.cadre1 > article  ul {
    display: flex;
    flex-direction: column;
    list-style-type: disc;
}

#enfant > section.section2.cadre1 > article > ul  li {
    margin-left: 2rem;
    margin-bottom: 2rem;
    font-size: 1.6rem;    
    line-height: 4rem;
    font-family: "Mosk";
    font-style: normal;
    font-weight: 400;
}


#enfant > section.section2.cadre1 > article > ul > ul{
    margin-left: 2rem;
}


#enfant > div > a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    background-color: rgb(189, 143, 143);
    font-size: 2rem;
    padding: 1rem;
}

/* ############# Pour les écrans larges  ################################################################### */
@media screen and (min-width: 1025px) {


}


/* ############# Pour les écrans moyens  ################################################################### */

@media screen and (min-width: 769px) and (max-width: 1024px) {

    #enfant > section.section1.cadre1 > article {
        width: 40%;
    }

    #enfant > section.section1.cadre1 > div > img {
        width: 300px;
    }

    #enfant > section.section2.cadre1 > article > ul > li {
        line-height: 2rem;
    }



}



/* ############# Pour les petits écrans mobile ################################################################### */
@media screen and (max-width: 768px) {

    #enfant > h1 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    #enfant > h2 {
        font-size: 1rem;
    }

    #enfant > section.section1.cadre1 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }


    #enfant > section.section1.cadre1 > div {
        margin: 1rem;
    }

    #enfant > section.section1.cadre1 > div > img {
        width: 150px;
    }


    #enfant > section.section2.cadre1 > article > ul > li {
        line-height: 1.5rem;
        font-size: 1rem;

    }

    
    #enfant > section.section2.cadre1 > article > ul  li {
        font-size: 1rem;    
        line-height: 1.5rem;
    }


    #enfant > div > a {
        font-size: 1rem;
        padding: 1rem;
    }

}

